package ModelLager;
import java.util.ArrayList;

/**
 * Write a description of class DelOrdre here.
 * 
 * @author (Gruppe 5) 
 * @version (a version number or a date)
 */
public class DelOrdre
{
    private int antal;
    private Vare vare;
    private VareContainer vCon;
    
    /**
     * DelOrdre Constructor
     *
     * @param vare A parameter
     * @param antal A parameter
     */
    public DelOrdre(Vare vare, int antal)
    {
        this.vare = vare;
        this.antal = antal;
    }
    
    public Vare getVare()
    {
        return vare;
    }
    
    public int getAntal()
    {
        return antal;
    }
    
    public void setVare(Vare vare)
    {
        this.vare = vare;
    }
    
    public void setAntal(int antal)
    {
        this.antal = antal;
    }
    
    /**
     * Method findVare
     *
     * @param id A parameter
     * 
     * Methoden bruger id til at finde en bestemt vare.
     */
    public void findVare(int id)
    {
        System.out.println(vCon.findVare(id));
    }
}
